package com.xiaoma.chat.dto;

public class UserGroupDto {

    private Integer userId;
    private Integer groupId;
    
    public Integer getUserId() {
        return userId;
    }
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getGroupId() {
        return groupId;
    }
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }
    
    public boolean validate() {
        return this.userId != null && this.groupId != null;
    }
}
